package com.changfa.dto;

import java.util.ArrayList;
import java.util.List;


public class ProductAjax  extends BaseAjax{

	public String model;
	public Integer status;
	public Integer type;
	public String bigImage;
	public String smallImage;
	public String description;
	public Boolean isPart;
	public String note;
	
	public ProductCategoryAjax category;
	public UnitAjax unit;
	public UnitTypeAjax unitType;
	public ProductTypeAjax productType;
	public ProductTypeAjax productTypeL2;
	public SupplierAjax supplier;
	
	
	
	public String unitPriceDiff;
	public String salePercent;
	public String sale2Percent;
	
	public List<ProductUnitRelAjax> productUnitRels = new ArrayList<ProductUnitRelAjax>();
	
	public String relUnitNames = "";
	public String relUnitIds = "";
	public String relSalePrices = "";
	public String relSale2Prices = "";
	public String relBuyPrices = "";
	
	/*
	
	public String unitPriceDiff;
	public BigDecimal salePercent;
	public BigDecimal sale2Percent;
	public Integer isDelete;
	public String relUnitNames = "";
	public String relUnitIds = "";
	public String relSalePrices = "";
	public String relSale2Prices = "";
	public String relBuyPrices = "";
	public String updateRelUnitIds = "";//  通过符号 "/"   如：30/40/50
	public String updateBuyPrices = "";//  通过符号 "/"   如：30/40/50
	public String updateSalePrices = "";
	public String updateSale2Prices = "";
	*/
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getBigImage() {
		return bigImage;
	}
	public void setBigImage(String bigImage) {
		this.bigImage = bigImage;
	}
	public String getSmallImage() {
		return smallImage;
	}
	public void setSmallImage(String smallImage) {
		this.smallImage = smallImage;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Boolean getIsPart() {
		return isPart;
	}
	public void setIsPart(Boolean isPart) {
		this.isPart = isPart;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public ProductTypeAjax getProductType() {
		return productType;
	}
	public void setProductType(ProductTypeAjax productType) {
		this.productType = productType;
	}
	public ProductCategoryAjax getCategory() {
		return category;
	}
	public void setCategory(ProductCategoryAjax category) {
		this.category = category;
	}
	public UnitAjax getUnit() {
		return unit;
	}
	public void setUnit(UnitAjax unit) {
		this.unit = unit;
	}
	public UnitTypeAjax getUnitType() {
		return unitType;
	}
	public void setUnitType(UnitTypeAjax unitType) {
		this.unitType = unitType;
	}
	public ProductTypeAjax getProductTypeL2() {
		return productTypeL2;
	}
	public void setProductTypeL2(ProductTypeAjax productTypeL2) {
		this.productTypeL2 = productTypeL2;
	}
	public SupplierAjax getSupplier() {
		return supplier;
	}
	public void setSupplier(SupplierAjax supplier) {
		this.supplier = supplier;
	}
	public String getUnitPriceDiff() {
		return unitPriceDiff;
	}
	public void setUnitPriceDiff(String unitPriceDiff) {
		this.unitPriceDiff = unitPriceDiff;
	}
	public String getSalePercent() {
		return salePercent;
	}
	public void setSalePercent(String salePercent) {
		this.salePercent = salePercent;
	}
	public String getSale2Percent() {
		return sale2Percent;
	}
	public void setSale2Percent(String sale2Percent) {
		this.sale2Percent = sale2Percent;
	}
	public String getRelUnitNames() {
		return relUnitNames;
	}
	public void setRelUnitNames(String relUnitNames) {
		this.relUnitNames = relUnitNames;
	}
	public String getRelUnitIds() {
		return relUnitIds;
	}
	public void setRelUnitIds(String relUnitIds) {
		this.relUnitIds = relUnitIds;
	}
	public String getRelSalePrices() {
		return relSalePrices;
	}
	public void setRelSalePrices(String relSalePrices) {
		this.relSalePrices = relSalePrices;
	}
	public String getRelSale2Prices() {
		return relSale2Prices;
	}
	public void setRelSale2Prices(String relSale2Prices) {
		this.relSale2Prices = relSale2Prices;
	}
	public String getRelBuyPrices() {
		return relBuyPrices;
	}
	public void setRelBuyPrices(String relBuyPrices) {
		this.relBuyPrices = relBuyPrices;
	}
	public List<ProductUnitRelAjax> getProductUnitRels() {
		return productUnitRels;
	}
	public void setProductUnitRels(List<ProductUnitRelAjax> productUnitRels) {
		this.productUnitRels = productUnitRels;
	}
}
